lcBlockSetViewRect Home

Sets a block area that will be visible in the design window.

 BOOL lcBlockSetViewRect (
   HANDLE hBlock,
   double X,
   double Y,
   double Width,
   double Height
 );

Parameters
hBlock
  Handle to a block object.
X Y
  Coordinates of a point that will be a view center.
Width
  Visible width (can be 0).
Height
  Visible height (can be 0).

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

Remarks

  If parameter 'Width' or 'Height' is zero, then function will not change the view size, but only move the view to the new position (with center specified by X,Y).

See Also

  lcBlockSetViewRect2